package cn.com.open.itembank.dto;

import cn.com.open.itembank.common.BaseModel;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by lucky on 2017/9/13.
 */
public class Choice extends BaseModel {
    public Choice() {
        this.i1 = "";
        this.i2 = "";
        this.IsCorrect = false;
    }

    /**
     * 选项标识
     */
    private String i1;

    /**
     * 选项内容
     */
    private String i2;

    /**
     * 是否正确答案
     */
    private Boolean IsCorrect;

    /**
     * Gets i 1.
     *
     * @return the i 1
     */
    @JsonProperty("I1")
    public String getI1() {
        return i1;
    }

    /**
     * Sets i 1.
     *
     * @param I1 the 1
     */
    @JsonProperty("I1")
    public void setI1(String I1) {
        this.i1 = I1;
    }

    /**
     * Gets i 2.
     *
     * @return the i 2
     */
    @JsonProperty("I2")
    public String getI2() {
        return i2;
    }

    /**
     * Sets i 2.
     *
     * @param I2 the 2
     */
    @JsonProperty("I2")
    public void setI2(String I2) {
        this.i2 = I2;
    }

    /**
     * Gets correct.
     *
     * @return the correct
     */
    @JsonProperty("Correct")
    public Boolean getCorrect() {
        return IsCorrect;
    }

    /**
     * Sets correct.
     *
     * @param Correct the correct
     */
    @JsonProperty("Correct")
    public void setCorrect(Boolean Correct) {
        IsCorrect = Correct;
    }
}
